{include file="header.tpl" title="Duyet sysparm "}
<form action="" method="post" name="tongquat" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="4">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td width="68%" colspan="2" align="right" nowrap="nowrap">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="6">
<hr></td>
</tr>
  <tr>
    <td width="20%" nowrap="nowrap">{$lbl_WUCODE}</td>
    <td width="20%" colspan="5" nowrap="nowrap"><input name="WUCODE" id="WUCODE" type="text" style="background:{$colorWUCODE};" value="{$WUCODE}" size="20" maxlength="10" {if $activefield eq 'enabled' } readonly="readOnly"{/if} onkeyup="this.value=this.value.toUpperCase().replace(' ','');"/>
      <span style="color:#FF0000">*</span>
      <input type="submit" name="find" value="    " id="replacement_find" {if $activefield eq 'enabled' } disabled="disabled"{/if} /> </td>
    </tr>
  <tr>
    <td>{$lbl_WUNAME}</td>
    <td width="20%" colspan="5"><input name="WUNAME" id="WUNAME" type="text" style="background:{$colorWUNAME};" value="{$WUNAME}" size="50" maxlength="50" readonly="readonly"/>
      <span style="color:#FF0000">*</span></td>
    </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_ADDRESS}</td>
    <td colspan="5" nowrap="nowrap"><input name="ADDRESS" id="ADDRESS" type="text" style="background:{$colorADDRESS}" value="{$ADDRESS}" size="50" maxlength="50" readonly="readonly" /></td>
    </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_ACTYPE}</td>
    <td colspan="5" nowrap="nowrap"><span style="color:#FF0000">
      <select id="ACTYPE" name="ACTYPE" size="1" {if $activefield eq 'enabled' } disabled="disabled" {/if} style="background:{$colorACTYPE};"> 	  
	  <option value=""></option>  
 		{foreach from=$cbo_ACTYPE key=k item=v}        
        <option value="{$v}" {if $ACTYPE eq $v} selected="selected" {/if}>{$v}</option>   
 		{/foreach}		    
      </select>
* </span>
	  <input type="hidden" name="tmpACTYPE" id="tmpACTYPE" value="{$ACTYPE}" /></td>
    </tr>
  <tr>
    <td>{$lbl_GLACCOUNT}</td>
    <td colspan="5"><span style="color:#FF0000">
      <input name="GLACCOUNT" id="GLACCOUNT" type="text" style="background:{$colorGLACCOUNT}" value="{$GLACCOUNT}" size="30" maxlength="30" readonly="readonly" />
    </span></td>
    </tr>
   <tr>
     <td nowrap="nowrap">{$lbl_ACTCUR}</td>
     <td colspan="5" nowrap="nowrap"><select id="ACTCUR" name="ACTCUR" size="1" {if $activefield eq 'enabled' } disabled="disabled" {/if} style="background:{$colorACTCUR};">	
       <option value=""></option>    
 		{foreach from=$cbo_ACTCUR key=k item=v}        
       <option value="{$k}" {if $ACTCUR eq $k} selected="selected" {/if}>{$k} - {$v}</option>       
 		{/foreach}		    
     
     </select>
       <span style="color:#FF0000">* </span>
	   <input type="hidden" name="tmpACTCUR" id="tmpACTCUR" value="{$ACTCUR}" />	 </td>
    </tr>
   <tr>
     <td nowrap="nowrap">{$lbl_WUTYPE}</td>
     <td nowrap="nowrap"><select id="WUTYPE" name="WUTYPE" size="1" {if $activefield eq 'enabled' } disabled="disabled" {/if} style="background:{$colorWUTYPE};">	
	 	<option value=""></option>    
 		{foreach from=$cbo_WUTYPE key=k item=v}        
       <option value="{$k}" {if $WUTYPE eq $k} selected="selected" {/if}>{$k} - {$v}</option>
 		{/foreach}		    
     </select>
       <span style="color:#FF0000">* </span>
	   <input type="hidden" name="tmpWUTYPE" id="tmpWUTYPE" value="{$WUTYPE}" /></td>
     <td width="20%" nowrap="nowrap">{$lbl_ENABLED}</td>
     <td colspan="3"><select id="ENABLED" name="ENABLED" size="1" disabled="disabled">
       <option value=""></option>  
 		{foreach from=$cbo_wu_ENABLED key=k item=v}        
       <option value="{$k}" {if $ENABLED eq $k} selected="selected" {/if}>{$k} - {$v}</option> 
 		{/foreach}		    
     </select></td>
    </tr>
	
	<tr>
	  <td nowrap="nowrap">{$lbl_INGL}</td>
	  <td colspan="5" nowrap="nowrap"><span style="color:#FF0000">
	    <input name="INGL" id="INGL" type="text" style="background:{$colorINGL}" value="{$INGL}" size="30" maxlength="10" readonly="readonly" />
	  </span></td>
    </tr>
	<tr>
	  <td nowrap="nowrap">{$lbl_NAME}</td>
	  <td colspan="5" nowrap="nowrap"><span style="color:#FF0000">
	    <input name="NAME" id="NAME" type="text" style="background:{$colorNAME};" value="{$NAME}" size="50" maxlength="50" readonly="readonly"/>
	  </span></td>
    </tr>
	<tr>
	  <td nowrap="nowrap">{$lbl_TAXNO}</td>
	  <td colspan="5" nowrap="nowrap"><span style="color:#FF0000">
	    <input name="TAXNO" id="TAXNO" type="text" style="background:{$colorTAXNO}" value="{$TAXNO}" size="30" maxlength="50" readonly="readonly" />
	  </span></td>
    </tr>
	<tr>
	  <td nowrap="nowrap">{$lbl_ADDRESSNO}</td>
	  <td colspan="5" nowrap="nowrap"><span style="color:#FF0000">
	    <input name="ADDRESSNO" id="ADDRESSNO" type="text" style="background:{$colorADDRESSNO}" value="{$ADDRESSNO}" size="50" maxlength="50" readonly="readonly" />
	  </span></td>
    </tr>
	<tr>
	  <td nowrap="nowrap">{$lbl_PHONE}</td>
	  <td nowrap="nowrap"><span style="color:#FF0000">
	    <input name="PHONE" id="PHONE" type="text" style="background:{$colorPHONE}" value="{$PHONE}" size="30" maxlength="50" onkeypress="return numberOnly(event);" readonly="readonly" />
	  </span></td>
	  <td nowrap="nowrap"><div align="right">{$lbl_FAX}</div></td>
    <td colspan="3"><span style="color:#FF0000">
      <input name="FAX" id="FAX" onkeypress="return numberOnly(event);" type="text" style="background:{$colorFAX}" value="{$FAX}" size="30" maxlength="50" readonly="readonly" />
    </span></td>
  </tr>
	<tr>
      <td>{$lbl_GLPMT}</td>
      <td colspan="7">
        <input name="GLPMT" id="GLPMT" type="text" style="background:{$colorGLPMT}" value="{$GLPMT}" size="30" maxlength="10" readonly="readonly" />
		</td>
    </tr>
<tr>
<td colspan="6">
<p>&nbsp;</p>
<p>&nbsp;</p></td>
</tr>
<tr>
   <td align="right" nowrap="nowrap" colspan="6"><input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'WUNAME-ACTYPE-ACTCUR-WUTYPE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
     <input value="{$lbl_tuchoi}" name="tuchoi" type="submit" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" {if $activefield eq 'disabled' }disabled="disabled" {/if}/>
 <input value="{$lbl_duyet}" name="duyet" type="submit" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" {if $activefield eq 'disabled' }disabled="disabled" {/if}  />  </td>
</tr>
<tr>
<td colspan="6"><input value="{$lbl_lichsuthaydoi}" name="lichsuthaydoi" type="button" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" onclick="mywindow = window.open('lich_su_par_wu.php?WUCODE={$WUCODE} && ACTYPE={$ACTYPE} && ACTCUR={$ACTCUR} && WUTYPE={$WUTYPE}', 'mywindow','menubar=0,scrollbars=1,resizable=0,width=700,height=300');mywindow.moveTo((screen.width-700)/2,(screen.height-300)/2);" /></td>
</tr>
<tr>
<td colspan="6"><hr></td>
</tr>
<tr>
<td colspan="4">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>
</form>
{include file="footer.tpl"}
